package com.aaa.front;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ fileName:GatewayServerApp
 * @ description:
 * @ author:李江波
 * @ createTime:2023/6/12 9:32
 * @ version:1.0.0
 */
@SpringBootApplication //springboot 启动类注解
@EnableDiscoveryClient // 开启发现客户端  注册中心客户端注解
@MapperScan("com.aaa.front.dao")
@EnableSwagger2
@EnableTransactionManagement //启用事务管理器
public class FrontServerApp {
    public static void main(String[] args) {
       SpringApplication.run(FrontServerApp.class, args);
    }
}
